package org.dromara.work.service;



import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.work.domain.bo.DmBaseComplexSaveBo;
import org.dromara.work.domain.bo.DmBaseQueryBo;
import org.dromara.work.domain.vo.DmBaseBriefVo;
import org.dromara.work.domain.vo.DmBaseComplexVo;
import org.dromara.work.domain.vo.DmBaseFlowComplexVo;
import org.dromara.work.domain.vo.DmBaseVo;

import java.util.Collection;
import java.util.List;


/**
 * Author fu-denghui
 * CreateTime 2023/2/1 10:02
 */
public interface ITempDmBaseService {

    TableDataInfo<DmBaseBriefVo> customPageList(DmBaseQueryBo bo, PageQuery pageQuery);

    TableDataInfo<DmBaseVo> queryDlPageList(DmBaseQueryBo bo, PageQuery pageQuery);

    /**
     * 查询地名属性信息
     */
    DmBaseComplexVo queryBySubmitId(String id);

    DmBaseFlowComplexVo queryFlowById(String id);
    /**
     * 查询地名属性信息列表
     */
    TableDataInfo<DmBaseVo> queryPageList(DmBaseQueryBo bo, PageQuery pageQuery);

    /**
     * 查询地名属性信息列表
     */
    List<DmBaseVo> queryList(DmBaseQueryBo bo);

    /**
     * 新增地名属性信息
     */
    Boolean insertByBo(DmBaseComplexSaveBo bo);

    /**
     * 修改地名属性信息
     */
    Boolean updateByBo(DmBaseComplexSaveBo bo);

    /**
     * 校验并批量删除地名属性信息信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

}
